package classrecord.classes.model;

public class ContactDetails {

	private HomeAddress homeAddress;
	private EmailAddress emailAddress;

	private TelephoneNumber telephoneNumber;
	private MobilePhoneNumber mobilePhoneNumber;

	public void setDetailsOf(HomeAddress homeAddress,
			EmailAddress emailAddress, TelephoneNumber telephoneNumber,
			MobilePhoneNumber mobilePhoneNumber) {

		setHomeAddress(homeAddress);
		setEmailAddress(emailAddress);
		setTelephoneNumber(telephoneNumber);
		setMobilePhoneNumber(mobilePhoneNumber);

	}

	private void setHomeAddress(HomeAddress homeAddress) {
		this.homeAddress = homeAddress;
	}

	private void setEmailAddress(EmailAddress emailAddress) {
		this.emailAddress = emailAddress;
	}

	private void setTelephoneNumber(TelephoneNumber telephoneNumber) {
		this.telephoneNumber = telephoneNumber;
	}

	private void setMobilePhoneNumber(MobilePhoneNumber mobilePhoneNumber) {
		this.mobilePhoneNumber = mobilePhoneNumber;
	}

	public HomeAddress getHomeAddress() {
		return homeAddress;
	}

	public EmailAddress getEmailAddress() {
		return emailAddress;
	}

	public TelephoneNumber getTelephoneNumber() {
		return telephoneNumber;
	}

	public MobilePhoneNumber getMobilePhoneNumber() {
		return mobilePhoneNumber;
	}

}
